}
public static void configureBindServer(Connection conn,
ApplicationEntity ae, CommandLine cl) throws ParseException {
if (!cl.hasOption("b"))
throw new MissingOptionException(rb.getString("missing-bind-opt"));
String aeAtHostPort = cl.getOptionValue("b");
String[] aeAtHostAndPort = split(aeAtHostPort, ':', 1);
conn.setPort(Integer.parseInt(aeAtHostAndPort[1]));
if (aeAtHostAndPort[0] != null) {
String[] aeHost = split(aeAtHostAndPort[0], '@', 0);